package pl.krgr.vm2.ui.actions;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import pl.vm.model.Seazon;
import pl.vm.service.SeazonService;

import com.opensymphony.xwork2.ActionSupport;


public class AdminPanelAction extends ActionSupport {

	private static final long serialVersionUID = 1L;
	@Autowired
	private SeazonService seazonService;

	public String execute() throws Exception {
		return SUCCESS;
	}
	
	public List<Seazon> getSeazons() {
		return seazonService.getSeazons();
	}
	
}
